#ifndef __ZHU_OS_KERNEL64_ASSERT_H__
#define __ZHU_OS_KERNEL64_ASSERT_H__

void assert_failure(char* exp, char* file, char* base, int line);

#define assert(exp) \
    if (exp) \
    { \
        ; \
    } \
    else \
    { \
        assert_failure(#exp, __FILE__, __BASE_FILE__, __LINE__); \
    }
    
void panic(const char* fmt);
#endif